printf("\nEntry must be a number between 0 and %ld [type 0 or q to quit] you entered \"%s\"\n", query_response->NumberOfRecordsReturned, document_string);
}
if(document_number == 0){
break; /* leave the viewing loop */
}
if(document_number < -1) { /* handle next and previous */
char *type;
DocObj *Doc[2];
if(document_number == -3)
type = "WAIS_NEXT";
else if(document_number == -2)
type = "WAIS_PREV";
request_buffer_length = message_length; /* how of the request is left */